<%@ Page Title="Property Ads @tbd.co.in" Language="C#" MasterPageFile="~/TBDHome.Master" Theme="HomeTheme"
    AutoEventWireup="true" CodeBehind="PropertyAds.aspx.cs" Inherits="OPMS_V1.Restricted.Admin.PropertyAds" %>

<%@ Register Src="../../UserControls/AdminOptions.ascx" TagName="AdminOptions" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <uc1:AdminOptions ID="AdminOptions1" runat="server" />
    <asp:Panel ID="pnlTop" runat="server" Style="z-index: 1; left: 40px; top: 330px; position: absolute;
        height: 46px; width: 973px">
        <asp:Panel ID="pnlHomeDetails" runat="server" Style="z-index: 1; left: 1px; top: 44px;
            position: absolute; height: 195px; width: 972px">
            <asp:Panel ID="pnlHome" runat="server" Style="z-index: 1; left: 3px; top: 70px; position: absolute;
                height: 226px; width: 972px">
                <asp:GridView ID="grdPropertyList" runat="server" AllowPaging="True" 
                    AutoGenerateDeleteButton="True" Caption="Property List" CellPadding="4" ForeColor="#333333"
                    PageSize="4" Style="z-index: 1; left: 0px; top: -30px; height: 200px; width: 973px"
                    Height="148px" OnPageIndexChanging="grdPropertyList_PageIndexChanging" >
                    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </asp:Panel>
        </asp:Panel>
        <asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Size="20pt" 
            ForeColor="#A73D4E" 
            style="z-index: 3; left: 2px; top: -47px; position: absolute" 
            Text="Advertised Property List"></asp:Label>
        <cc1:CollapsiblePanelExtender ID="pnlHomeDetails_CollapsiblePanelExtender" runat="server"
            Enabled="True" TargetControlID="pnlHomeDetails" CollapseControlID="pnlHeading"
            SuppressPostBack="True" ExpandControlID="pnlHeading" ExpandedImage="~/Images/collapse_blue.jpg"
            CollapsedImage="~/Images/expand_blue.jpg" ImageControlID="Image5">
        </cc1:CollapsiblePanelExtender>
        <asp:Panel ID="pnlShow" runat="server" Style="z-index: 1; left: 0px; top: 0px; position: absolute;
            height: 40px; width: 976px; margin-bottom: 0px;">
            <asp:Panel ID="pnlHeading" runat="server" Style="z-index: 1; left: 0px; top: 0px;
                position: absolute; height: 42px; width: 973px" CssClass="collapsePanelHeader">
                <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="14pt" ForeColor="#A73D4E"
                    Style="z-index: 1; left: 40px; top: 0px; position: absolute" Text="Completed Ads: "></asp:Label>
                <asp:Label ID="Label4" runat="server" Style="z-index: 1; left: 30px; top: 23px; position: absolute"
                    Text="These are the Ads which are completed or has been finished."></asp:Label>
                <asp:Image ID="Image5" runat="server" ImageUrl="~/Images/expand_blue.jpg" Style="z-index: 1;
                    left: 3px; top: 5px; position: absolute; height: 18px; width: 21px" />
                <asp:Label ID="lblCompleteCount" runat="server" Font-Bold="True" ForeColor="#9E4956"
                    Style="z-index: 1; left: 171px; top: 3px; position: absolute"></asp:Label>
            </asp:Panel>
        </asp:Panel>
    </asp:Panel>
    <asp:Panel ID="pnlTopIncomplete" runat="server" Style="z-index: 1; left: 40px; top: 705px;
        position: absolute; height: 80px; width: 976px">
        <asp:Panel ID="pnlIncompleteHomedetails" runat="server" Style="z-index: 1; left: 0px;
            top: 48px; position: absolute; height: 226px; width: 972px">
            <asp:Panel ID="pnlHomeIncomplete" runat="server" Style="z-index: 1; left: 3px; top: 70px;
                position: absolute; height: 226px; width: 972px">
                <asp:GridView ID="grdIncomplete" runat="server" AllowPaging="True" 
                    AutoGenerateDeleteButton="True" Caption="Property List" CellPadding="4" ForeColor="#333333"
                    PageSize="4" Style="z-index: 1; left: 3px; top: -73px; position: absolute; height: 100px;
                    width: 973px" OnPageIndexChanging="grdIncomplete_PageIndexChanging" >
                    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </asp:Panel>
        </asp:Panel>
        <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" Enabled="True"
            TargetControlID="pnlIncompleteHomedetails" CollapseControlID="pnlIncompleteHeading"
            SuppressPostBack="True" ExpandControlID="pnlIncompleteHeading" ExpandedImage="~/Images/collapse_blue.jpg"
            CollapsedImage="~/Images/expand_blue.jpg" ImageControlID="Image1">
        </cc1:CollapsiblePanelExtender>
        <asp:Panel ID="pnlShowIncomplete" runat="server" Style="z-index: 1; left: -12px;
            top: -44px; position: absolute; height: 40px; width: 973px; margin-bottom: 0px;">
            <asp:Panel ID="pnlIncompleteHeading" runat="server" Style="z-index: 1; left: 5px;
                top: 1px; position: absolute; height: 42px; width: 976px" CssClass="collapsePanelHeader">
                <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Size="14pt" ForeColor="#A73D4E"
                    Style="z-index: 1; left: 42px; top: 4px; position: absolute; height: 21px;" Text="Incompleted Ads: "></asp:Label>
                <asp:Label ID="Label6" runat="server" Style="z-index: 1; left: 30px; top: 23px; position: absolute"
                    Text="These are the Ads which are incomplete."></asp:Label>
                <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/expand_blue.jpg" Style="z-index: 1;
                    left: 14px; top: 5px; position: absolute; height: 18px; width: 21px" />
            </asp:Panel>
        </asp:Panel>
    </asp:Panel>
</asp:Content>
